package com.useeinfo.oa.modules.task.enums;

/**
 * @auther: bin.liu
 * @Date: 2019/7/1 10:04
 * @Description: 任务工单操作日志枚举
 */
public enum TaskOrderLogOperationEnum {

    CREATE_ORDER("CREATE_ORDER", "创建工单"),
    UPDATE_ORDER("UPDATE_ORDER", "更新工单"),
    TAKING("TAKING","接单"),
    PRESENCE("PRESENCE","到场"),
    COMPLETE("COMPLETE","完成"),
    AUDIT("AUDIT","审核通过"),
    REJECT("REJECT","审核驳回"),
    ASSIGN_USER("ASSIGN_USER","指派人员"),
    ASSIGN_POSITION("ASSIGN_POSITION","指派岗位"),
    FINISH("FINISH","任务结束");

    private String code;

    private String name;

    public String getCode() {
        return this.code;
    }

    public String getName() {
        return this.name;
    }

    TaskOrderLogOperationEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

}
